-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mixins: Add code/grpc-code dimension to error widgets #6231
mixins: Add code/grpc-code dimension to error widgets #6231
Conversation
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -78,6 +78,24 @@ local utils = import '../utils.libsonnet'; | |||
], | |||
}, | |||
|
|||
qpsErrTotalPerLabelPanel(selectorErr, selectorTotal, dimensions, perLabel):: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving a decision documented: I created this qpsErrTotalPerLabelPanel
function because in many places qpsErrTotalPanel
is used for generic error charts (i.e. in the Compactor and Ruler dashboards).
As future work we could investigate whether those widgets have some sort of code/reason/message field that is worth surfacing in the widget's legend.
…hanos into improve-error-dashboards
CHANGELOG.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OMG I messed up a merge conflict solution here. Fixing it.
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
483ecfb
to
877f40f
Compare
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Looks like we have a flake unit test?
|
…-dashboards Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Build's all green, this is good to go finally 🙇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Changes
Screenshots
Store gRPC error widget before changes
Store gRPC error widget after changes
Verification
Used the output query in my team's live Grafana dashboard.